<?php
/**
 * polwebgis
 * 
 * This file is part of polwebgis.
 *
 * @copyright   Copyright (c) 2012 Dominik Janisch (http://www.joanneum.at)
 * @lastmodified    $LastChangedDate: 2012-03-07 09:15:12 +0000 (Wed, 07 Mar 2012) $
 * @revision    $Revision: 160 $ 
 */

class PaperSize
{

    private $name_;
    private $width_;
    private $height_;

    public function __construct($name, $width, $height)
    {
        $this->name_ = $name;
        $this->width_ = (int)$width;
        $this->height_ = (int)$height;
    }
    
    public function __destruct(){}
    
    public function getName()
    {
        return $this->name_;
    }
    
    public function getWidth()
    {
        return $this->width_;
    }
    
    public function getHeight()
    {
        return $this->height_;
    }

}

?>
